import Vue from 'vue'
import { Button,Col,Row,Select,Option,Avatar,Form,Input,FormItem,Image,Carousel,CarouselItem,Upload,InfiniteScroll,Pagination,Message,Backtop,Card,Table,Divider,TableColumn} from 'element-ui'
import {Drawer,Popconfirm,Calendar,Menu,MenuItem,Submenu} from 'element-ui'
Vue.use(Button).use(Col).use(Row).use(Avatar).use(Form).use(Input).use(FormItem).use(Image).use(Carousel).use(CarouselItem).use(Upload)
Vue.use(InfiniteScroll).use(Pagination).use(Backtop).use(Card).use(Table).use(TableColumn).use(Divider).use(Select).use(Option)
Vue.use(Drawer).use(Popconfirm).use(Calendar).use(Menu).use(MenuItem).use(Submenu)
Vue.component(Message)//直接使用use不知道为什么会直接自动调用弹窗
Vue.prototype.$message = Message//由于没有使用use，因此需这样进行注册